menu: Guard against NULL toplevel
authorTimm Bäder <mail@baedert.org>
Tue, 26 Sep 2017 05:10:39 +0000 (07:10 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 26 Jan 2018 10:37:31 +0000 (11:37 +0100)
commit136b88534caaca9200847b049a5ef50b77f86dc5
treeca24e8f46362bb6295ad36bcd54480c5bd43b4c2
parent4c8f7c4aca9d9e449e274e83caddcf72a9641bf2
menu: Guard against NULL toplevel

This can happen, as indicated by GtkMenu explicitly connecting to
::destroy of its toplevel window. Do the same thing in GtkComboBox.
gtk/gtkcombobox.c
gtk/gtkmenu.c